﻿using System;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.MarketingCoupon.MarketingCoupon
{
    public class MarketingCouponRequestDto
    {
        /// <summary>
        /// 优惠券名称
        /// </summary>
        [Display(Name = "优惠券名称")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public string CouponName { get; set; }

        /// <summary>
        /// 优惠券摘要
        /// </summary>
        public string CouponSummark { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        [Display(Name = "开始日期")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public DateTime StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        [Display(Name = "结束日期")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public DateTime EndDate { get; set; }
        /// <summary>
        /// 区编码
        /// </summary>
        public string CountyCode { get; set; }
    }
}
